package com.jasonchoi.redisqueue.pubsub.sub;

import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Component;

/**
 * Redis消息队列-订阅者
 * @Author: JasonChoi
 * @Date: 2020/3/13 15:31
 */
@Log4j2
@Component
public class CustomRedisReceiver {

    public static final String RECEIVE_TEST = "receiveTest";
    public static final String INSURE_CALLBACK = "insureCallBack";




    public void receiveTest(String message) {
        System.out.println("Receive: " + message);
    }


}
